package com.dyh.quickdemo.bizDemo.fullSuccess;

/*
@Author=Joey Wheeler
@Date=2021/2/24 18:13
*/
public class M {
    public static void main(String[] args) {
        boolean[] sus = {true,false,true};

        boolean res1 = true;
        for (boolean b : sus) {
            res1 = b;
        }
        System.out.println(res1);


        boolean res2 = true;
        for (boolean b : sus) {
           res2 &= b;
        }
        System.out.println(res2);
    }
}
